package me.zhengjie.modules.account.factory.vo;


import me.zhengjie.tool.MyMap;
import me.zhengjie.tool.NPETool;

import java.math.BigDecimal;

public class ResidentAccountIncome  {
    private static final long serialVersionUID = 1234567L;
    private String aaz118; //个人账户收入明细id
    private String aac001; //人员id
    private String aaz159; //人员参保关系id
    private String aaz116; //个人账户id
    private String aae140; //险种类型
    private String bae110; //是否参与计息
    private String aae228; //收入日期
    private String bae101; //计息开始时间
    private String aae003; //款费所属期
    private BigDecimal bad003; //金额
    private String aae341; //金额
    private String bae038; // 数据源表
    private String bae039; // 数据源表主键编码
    private String bae040; // 数据源表主键码值
    private String bae100; // 是否参与计息

    public ResidentAccountIncome(){

    }

    public ResidentAccountIncome(MyMap myMap) {
        this.aaz118 = "";
        this.aac001 = myMap.getAsString("aac001");
        this.aaz159 = myMap.getAsString("aaz159");
        this.aaz116 = myMap.getAsString("aaz116");
        this.aae140 = myMap.getAsString("aae140");
        this.bae110 = myMap.getAsString("bae110");
        this.aae228 = myMap.getAsString("aae228");
        this.bae101 = myMap.getAsString("bae101");
        this.aae341 = myMap.getAsString("aae341");
        this.bad003 = myMap.getAsBigDecimal("bad003");
        this.aae003 = myMap.getAsString("aae003");
        this.bae038 = myMap.getAsString("bae038"); // 数据源表
        this.bae039 = myMap.getAsString("bae039"); // 数据源表主键编码
        this.bae040 = myMap.getAsString("bae040"); // 数据源表主键码值
        this.bae100 = myMap.getAsString("bae100"); // 是否参与计息
        check();
    }

    private void check() {
        NPETool.isEmptyThrowException(this.aaz116,"个人账户id");
        NPETool.isEmptyThrowException(this.aae140,"险种类型");
        NPETool.isEmptyThrowException(this.aaz159,"人员参保关系id");
        NPETool.isEmptyThrowException(this.aac001,"人员id");
        NPETool.isEmptyThrowException(this.aae003,"款费所属期");
        NPETool.isEmptyThrowException(this.bae101,"计息开始时间");
        NPETool.isEmptyThrowException(this.aae228,"收入日期");
    }

    public String getAaz118() {
        return aaz118;
    }

    public void setAaz118(String aaz118) {
        this.aaz118 = aaz118;
    }

    public String getAac001() {
        return aac001;
    }

    public void setAac001(String aac001) {
        this.aac001 = aac001;
    }

    public String getAaz159() {
        return aaz159;
    }

    public void setAaz159(String aaz159) {
        this.aaz159 = aaz159;
    }

    public String getAaz116() {
        return aaz116;
    }

    public void setAaz116(String aaz116) {
        this.aaz116 = aaz116;
    }

    public String getAae140() {
        return aae140;
    }

    public void setAae140(String aae140) {
        this.aae140 = aae140;
    }

    public String getBae110() {
        return bae110;
    }

    public void setBae110(String bae110) {
        this.bae110 = bae110;
    }

    public String getAae228() {
        return aae228;
    }

    public void setAae228(String aae228) {
        this.aae228 = aae228;
    }

    public String getBae101() {
        return bae101;
    }

    public void setBae101(String bae101) {
        this.bae101 = bae101;
    }

    public String getAae003() {
        return aae003;
    }

    public void setAae003(String aae003) {
        this.aae003 = aae003;
    }

    public BigDecimal getBad003() {
        return bad003;
    }

    public void setBad003(BigDecimal bad003) {
        this.bad003 = bad003;
    }

    public String getAae341() {
        return aae341;
    }

    public void setAae341(String aae341) {
        this.aae341 = aae341;
    }

    public String getBae038() {
        return bae038;
    }

    public void setBae038(String bae038) {
        this.bae038 = bae038;
    }

    public String getBae039() {
        return bae039;
    }

    public void setBae039(String bae039) {
        this.bae039 = bae039;
    }

    public String getBae040() {
        return bae040;
    }

    public void setBae040(String bae040) {
        this.bae040 = bae040;
    }

    public String getBae100() {
        return bae100;
    }

    public void setBae100(String bae100) {
        this.bae100 = bae100;
    }
}
